package TDD;


/**
 * Teste da clas Teste_Manipula_txt.java
 * @author Fagner fjas
 *
 */

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

import Itens_listas.*;

public class TestMusica {

	private Musica musica;
	
	@Before public void musica(){
		musica = new Musica("music", "Music 1012", "Musicos", "2012", "songs", "songs.mp3");
	}
	
	@Test public void Test_musica(){
		Assert.assertEquals("music", musica.getTitulo());
		Assert.assertEquals("Music 1012", musica.getAlbum() );
		Assert.assertEquals("Musicos", musica.getArtista() );
		Assert.assertEquals("2012", musica.getAno() );
		Assert.assertEquals("songs", musica.getGenero() );
		Assert.assertEquals("songs.mp3", musica.getArquivo() );
	}
	
}